﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Vit.Common.Helpers;

namespace Vit.Web.Providers.Captcha
{
    public class RNGRandomTextGenerator : IRandomTextGenerator
    {
        public string Generate(string chars, int length)
        {
            return SecurityHelper.GetRandomString(chars, length);
        }

        public string Name
        {
            get { return "RNGRandomTextGenerator"; }
        }
    }
}
